import { Button } from '@ant-design/react-native'
import React, { Component } from 'react'
import { Text, View, TextInput } from 'react-native'

export default class title extends Component {
    render() {
        return (
            <View>
                <View style={{ flexDirection: 'row', display: 'flex', justifyContent: 'space-between' }}>
                    <View style={{ marginLeft: 5, marginTop: 10, }}>
                        <Text style={{ fontSize: 30 }}>北城之音</Text>
                    </View>
                    <View style={{ marginTop: 15 }}>
                        <TextInput placeholder="搜索" style={{ borderColor: 'gray', borderWidth: 1, width: 180, height: 35 }} />
                    </View>
                    <Button style={{ marginTop: 10, marginRight: 20 }} onPress={() => console.log(' ')}>搜索</Button>
                </View>
            </View>
        )
    }
}
